package com.liu.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.permission.entity.base.PermissionInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiuChengLong
 * @since 2022-09-22
 */
public interface PermissionInfoMapper extends BaseMapper<PermissionInfo> {

    /**
     * 检验权限代码是否存在
     * @param permissionCode 权限代码
     * @return true、false
     */
    String getByPermissionCode(@Param("permissionCode") String permissionCode);

}
